﻿using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 日志模型
    /// </summary>
    [DataContract]
    public class Log : NamedEntity
    {
        /// <summary>
        /// 获取或设置主题
        /// </summary>
        [DataMember]
        public string Subject { get; set; }

        /// <summary>
        /// 获取或设置正文
        /// </summary>
        [DataMember]
        public string Body { get; set; }

        /// <summary>
        /// 获取或设置日志种类
        /// </summary>
        [DataMember]
        public LogType Type { get; set; }
    }
}
